package com.jiangtai.smartbox.application

import android.content.Context
import android.support.multidex.MultiDexApplication
import com.hjq.toast.ToastUtils
import com.simple.spiderman.SpiderMan
import org.litepal.LitePal
import kotlin.properties.Delegates

/**
 * Created by heCunCun on 2021/5/19
 */
class App : MultiDexApplication() {
    companion object {
        var context: Context by Delegates.notNull()
            private set
    }

    override fun onCreate() {
        super.onCreate()
        context = applicationContext
        SpiderMan.init(this)
        LitePal.initialize(this)
        ToastUtils.init(this)
    }
}